<?php
// define array
// 4array-size.php
$data = array('Monday', 'Tuesday', 'Wednesday');

// get array size
echo 'The array has ' . count($data) . ' elements';
